import request from '@/utils/request'

//达人列表
export function getList(params) {
    return request({
      url: `/douyin/video/footprint/talent/list`,
      method: 'get',
      params
    })
  }

//添加达人
export function addTalent(data) {
  return request({
    url: '/douyin/video/footprint/talent/add',
    method: 'post',
    data
  })
}

//修改状态
export function editStatus(data) {
  return request({
    url: '/douyin/video/footprint/talent/changeStatus',
    method: 'put',
    data
  })
}
//删除达人
export function deleteTalent(id) {
  return request({
    url: `/douyin/video/footprint/talent/${id}`,
    method: 'delete',
    
  })
}

//视频列表
export function getVideoList(params) {
  return request({
    url: `/douyin/video/talent/works/video/list`,
    method: 'get',
    params
  })
}

//查看视频收益
export function getVideoIncome(id) {
  return request({
    url: `/douyin/video/talent/works/video/income/detail/${id}`,
    method: 'get',
    
  })
}

//视频收益明细列表
export function getVideoIncomeList(params) {
  return request({
    url: `/douyin/video/talent/works/video/income/list`,
    method: 'get',
    params
  })
}